package constructor10;

public class Demo {
    public static void main(String[] args) {
        Teacher t = new Teacher("王老师",30);
        System.out.println(t.getName() + "   " + t.getAge());
    }
}
